import request from "@/utils/request.js"

export const userInfo = () => {
  return request.get("/user/user/set")
}

export const logout = (token) => {
  return request.post("/user/user/logout/" + token)
}

export const updateUser = (data) => {
  return request.post("/user/user/set", data)
}
